package com.unhz.generator.dao;

import com.unhz.generator.pojo.SysPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysPermissionMapper extends com.unhz.generator.dao.BaseMapper<SysPermission> {

    List<SysPermission> selectAllPermission();

    int getTotalRecordsByKeywords(@Param("keywords") String keywords);

    List<SysPermission> findPermissionMap(Map<String, Object> map);

    List<SysPermission> findAllParent();

    List<SysPermission> selectAllChild();

    List<SysPermission> findAllPermission();

    List<SysPermission> findAllBig();

}